
import 'package:http/http.dart' as http;
import 'dart:convert';
import 'dart:async';


Future<List> getGirlList(String key) async{
  String url ='https://m.image.so.com/j?src=imageonebox&q=$key&obx_type=360pic_meinv&pn=50&sn=0&kn=50&gn=0&cn=0';
   var res = await http.get(url);
  if (res.statusCode == 200) {
  //  print(jsonDecode(res.body));
    List items = jsonDecode(res.body)['list'] as List;
    return items;
  }else{
    return [];
  }
}